package com.aftersale.demo.mapper;

import com.aftersale.demo.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @Entity com.aftersale.demo.entity.Permission
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    List<String> selectPermissionsByUserId(int userId);

    List<Permission> selectMyPage(IPage<Permission> page);

}




